
#ifndef _APDU_LIB_APP_H_
#define _APDU_LIB_APP_H_
	
#include "../apdu.def/apdu_datatypes.h"

#ifdef __cplusplus
extern "C" {
#endif

	int app_create_application(HANDLE devHandle, unsigned char * app_info, int info_size);

	int app_update_application( HANDLE devHandle, int app_id, unsigned char * app_info, int info_size );

	int app_enum_applications(HANDLE devHandle, char * app_names, int  * buff_size);

	int app_delete_application(HANDLE devHandle, char * app_name);

	int app_open_application(HANDLE devHandle, char * app_name,
						unsigned char * app_props, int props_size);

	int app_close_application(HANDLE devHandle, int app_id);

	int app_get_application_ext_info(HANDLE devHandle, int app_id, unsigned char * ext_info, int * info_size);


#ifdef __cplusplus
}
#endif

#endif
